package conexao;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class FabricaDeConexoes {
	
	public static Connection getConnection() throws SQLException{
		
		try{
			return DriverManager.getConnection("com.mysql.jdbc.Driver", "mars", "123");
		}catch (Exception e){
			throw e;
		}
		
		
		
	}
}
